package oshi.hardware;

/**
 * @author Teemo
 */
public class GpuInfo {
    private String name;

    private double load;

    private double temperature;

    private double fanspeed;

    private double memoryTotal;
    private double memoryUsed;
    private double memoryFree;



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getLoad() {
        return load;
    }

    public void setLoad(double load) {
        this.load = load;
    }

    public double getTemperature() {
        return temperature;
    }

    public void setTemperature(double temperature) {
        this.temperature = temperature;
    }

    public double getFanspeed() {
        return fanspeed;
    }

    public void setFanspeed(double fanspeed) {
        this.fanspeed = fanspeed;
    }


    public double getMemoryTotal() {
        return memoryTotal;
    }

    public void setMemoryTotal(double memoryTotal) {
        this.memoryTotal = memoryTotal;
    }

    public double getMemoryUsed() {
        return memoryUsed;
    }

    public void setMemoryUsed(double memoryUsed) {
        this.memoryUsed = memoryUsed;
    }

    public double getMemoryFree() {
        return memoryFree;
    }

    public void setMemoryFree(double memoryFree) {
        this.memoryFree = memoryFree;
    }

    @Override
    public String toString() {
        return "GpuInfo{" +
            "name='" + name + '\'' +
            ", load=" + load +
            ", temperature=" + temperature +
            ", fanspeed=" + fanspeed +
            ", memoryTotal=" + memoryTotal +
            ", memoryUsed=" + memoryUsed +
            ", memoryFree=" + memoryFree +
            '}';
    }
}
